package com.lkd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: Z.lx
 * @Date: 2025/8/17 14:09
 * @Description:
 **/
@Data
@TableName("tb_node")
public class Node {
    private String id;//点位Id
    @TableField(value = "node_name")
    private String name;//点位名称
    private String addr;//点位地址
    private String areaCode;//点位编码
    private Integer createUserId;//创建者Id
    private String regionId;//区域Id
    private Integer businessId;//点位业务Id
    private Integer ownerId;//点位拥有者Id
    private String ownerName;//点位拥有者名称
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
